const customer: AuthRoute.Route = {
  name: 'customer',
  path: '/customer',
  component: 'basic',
  children: [
    {
      name: 'customer_analysis',
      path: '/customer/analysis',
      component: 'self',
      meta: {
        title: '用户列表',
        requiresAuth: true,
        icon: 'icon-park-outline:analysis',
        i18nTitle: 'message.routes.customer.analysis'
      }
    },
    {
      name: 'customer_workbench',
      path: '/customer/workbench',
      component: 'self',
      meta: {
        title: '用户详情',
        requiresAuth: true,
        icon: 'icon-park-outline:workbench',
        i18nTitle: 'message.routes.customer.workbench'
      }
    }
  ],
  meta: {
    title: '用户',
    icon: 'mdi:file-document-multiple-outline',
    order: 2,
    i18nTitle: 'message.routes.customer._value'
  }
};

export default customer;
